
set(_headers
)
set(_sources
abaqus_io.C  
boundary_info.C  
boundary_mesh.C  
checkpoint_io.C  
distributed_mesh.C  
ensight_io.C  
exodusII_io.C  
exodusII_io_helper.C  
fro_io.C  
gmsh_io.C  
gmv_io.C  
gnuplot_io.C  
inf_elem_builder.C  
matlab_io.C  
medit_io.C  
mesh_base.C  
mesh_communication.C  
mesh_communication_global_indices.C  
mesh_function.C  
mesh_generation.C  
mesh_iterators.C  
mesh_modification.C  
mesh_output.C  
mesh_refinement.C  
mesh_refinement_flagging.C  
mesh_refinement_smoothing.C  
mesh_serializer.C  
mesh_smoother.C  
mesh_smoother_laplace.C  
mesh_smoother_vsmoother.C  
mesh_subdivision_support.C  
mesh_tetgen_interface.C  
mesh_tetgen_wrapper.C  
mesh_tools.C  
mesh_triangle_holes.C  
mesh_triangle_interface.C  
mesh_triangle_wrapper.C  
namebased_io.C  
nemesis_io.C  
nemesis_io_helper.C  
off_io.C  
patch.C  
postscript_io.C  
replicated_mesh.C  
tecplot_io.C  
tetgen_io.C  
ucd_io.C  
unstructured_mesh.C  
unv_io.C  
vtk_io.C  
xdr_io.C  
)

add_library(mesh SHARED ${_sources})

# find_package(MPI REQUIRED)
# target_link_libraries(mesh PUBLIC ${MPI_C_LIBRARIES})
target_link_libraries(mesh PUBLIC _compiler_flags)

target_include_directories(mesh PUBLIC ${PROJECT_SOURCE_DIR}/contrib/eigen/3.2.9)
# target_include_directories(mesh PUBLIC ${MPI_INCLUDE_PATH})